Contention resolution in hashing based shared memory simulations
نویسنده
چکیده
In this paper we study the problem of simulating shared memory on the distributed memory machine (DMM). Our approach uses multiple copies of shared memory cells, distributed among the memory modules of the DMM via universal hashing. The main aim is to design strategies that resolve contention at the memory modules. Extending results and methods from random graphs and very fast randomized algorithms, we present new simulation techniques that enable us to improve the previously best results exponentially. In particular, we show that an n-processor CRCW PRAM can be simulated by an n-processor DMM with delay O(log log log n log∗ n), with high probability. Next we describe a general technique that can be used to turn these simulations into timeprocessor optimal ones, in the case of EREW PRAMs to be simulated. We obtain a time-processor optimal simulation of an (n log log log n log∗ n)-processor EREW PRAM on an n-processor DMM with delay O(log log log n log∗ n), with high probability. When an (n log log log n log∗ n)-processor CRCW PRAM is simulated, the delay is only by a log∗ n factor larger. We further demonstrate that the simulations presented can not be significantly improved using our techniques. We show an Ω(log log log n/ log log log log n) lower bound on the expected delay for a class of PRAM simulations, called topological simulations, that covers all previously known simulations as well as the simulations presented in the paper.
منابع مشابه
Hashing Strategies for Simulating Shared Memory on Distributed Memory Machines
We survey shared memory simulations on distributed memory machines (DMMs), that use universal hashing to distribute the shared memory cells over the memory modules of the DMM. We measure their quality in terms of delay, time-processor eeciency, memory contention (how many requests have to be satissed by one memory module per simulated step) and simplicity. Further we take into consideration dii...
متن کاملGossiping and Broadcasting vs. Computing Boolean Functions in Processor Networks Faith Fich Faster Approximate Agreement with Multi-writer Registers
Contention Resolution in Hashing Based Shared Memory Simulations by Artur Czumaj (joint work with F. Meyer auf der Heide and Volker Stemann) We investigate the problem of simulating shared memory on the Distributed Memory Machine (DMM). Our approach uses multiple copies of shared memory cells distributed among the memory modules of the DMM via universal hashing. Thus the main problem is to desi...
متن کاملSimple, Eecient Shared Memory Simulations (extended Abstract)
We present three shared memory simulations on distributed memory machines (DMMs), which use universal hashing to distribute the shared memory cells over the memory modules of the DMM. We measure their quality in terms of delay, time-processor eeciency, memory contention (how many requests have to be satissed by one memory module per simulated step) and simplicity. Further we take into considera...
متن کاملReducing Controller Contention in Shared-Memory Multiprocessors Using Combining and Two-Phase Routing
In simple cache coherency protocols, serialisation can occur when many simultaneous accesses are made to data held in a single node, and when many accesses involve a common \home" node controller. This is ameliorated in various designs with a hierarchical or clustered structure. In this paper we investigate the idea of routing requests via an intermediate \proxy" node where combining is used to...
متن کاملHashing and Rehashing in Emulated Shared Memory Hashing and Rehashing in Emulated Shared Memory
The PRAM model is widely used to formulate parallel algorithms because of its shared memory and its synchronous behaviour. The model however bears little resemblance to real parallel machines. This has led to various approaches to emulating PRAMs on processor networks. We brieey survey the principles behind these emulations and show why hashing is an important part of them. We discuss the commo...
متن کامل